<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8"/>
    <meta content="width=device-width, initial-scale=1.0" name="viewport"/>
    <meta content="ie=edge" http-equiv="X-UA-Compatible"/>
    <link href="css/reset.css" rel="stylesheet"/>
    <link href="css/main.css" rel="stylesheet"/>
    <script src="js/jquery-1.12.4.min.js" type="text/javascript"></script>
    <script src="js/jquery-ui.min.js" type="text/javascript"></script>
    <script src="js/jquery.mousewheel.js" type="text/javascript"></script>
    <title>聊天机器人</title>
</head>

<body>

<div class="wrap">
    <!-- 头部 Header 区域 -->
    <div class="header">
        <h3>小思同学</h3>
        <img alt="icon" src="img/person01.png"/>
    </div>
    <!-- 中间 聊天内容区域 -->
    <div class="main">
        <ul class="talk_list" style="top: 0px;">
            <li class="left_word">
                <img src="img/person01.png"/> <span>嗨, 最近想我没有?</span>
            </li>
        </ul>
        <div class="drag_bar" style="display: none;">
            <div
                    class="drager ui-draggable ui-draggable-handle"
                    style="display: none; height: 412.628px;"
            ></div>
        </div>
    </div>
    <!-- 底部 消息编辑区域 -->
    <div class="footer">
        <img alt="icon" src="img/person02.png"/>
        <input class="input_txt" id="ipt" placeholder="说的什么吧..." type="text"/>
        <input class="input_sub" id="btnSend" type="button" value="发 送"/>
    </div>
</div>

<!-- 注意: 只要为audio指定了新的src属性, 而且指定了 autoplay, 那么语音就会自动播放 -->
<audio autoplay id="voice" src="" style="display: none;">

</audio>
<script src="js/scroll.js" type="text/javascript"></script>
<script src="js/chat.js"></script>
<script>
    $(function () {
        // 初始化右侧滚动条
        // 这个方法定义在scroll.js中
        resetui()
    })


</script>
</body>
</html>
